package com.arcbbs.mapper;

import com.arcbbs.entity.ForumArticleAttachment;
import com.arcbbs.entity.ForumArticleAttachmentDownload;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ForumArticleAttachmentDownloadMapper {
    @Select("select * from forum_article_attachment_download where file_id = #{fileId} and user_id = #{userId}")
    ForumArticleAttachmentDownload selectbyfileidanduserid(String fileId, String userId);


    void add(ForumArticleAttachment updateDownload);
}
